package com.tankwar;

import java.awt.*;

public class Fe extends GameObject {
    private int width = 60;
    private int height = 60;

    public Fe(String img, int x, int y, GamePanel gamePanel) {
        super(img, x, y, gamePanel);
    }

    @Override
    public void paintSelf(Graphics g) {
        g.drawImage(img, x, y, null);
    }

    @Override
    public Rectangle getRec() {
        return new Rectangle(x, y, width, height);
    }

}